$OpenBSD: patch-camlibs_ptp2_ptpip_c,v 1.1 2014/12/22 14:26:01 ajacoutot Exp $

ptp2/ptpip.c:697: warning: implicit declaration of function 'inet_aton'

--- camlibs/ptp2/ptpip.c.orig	Mon Dec 22 14:39:26 2014
+++ camlibs/ptp2/ptpip.c	Mon Dec 22 14:39:47 2014
@@ -45,6 +45,7 @@
 # include <winsock.h>
 #else
 # include <sys/socket.h>
+# include <arpa/inet.h>
 # include <netinet/in.h>
 #endif
 
